home *** CD-ROM | disk | FTP | other *** search
/ Champak 142 / Volume 142 Oct 17 2011 - Damaged.iso / Games / parasite-x.swf / scripts / frame_43 / PlaceObject3_70_9 / CLIPACTIONRECORD onClipEvent(enterFrame).as < prev    next >
Text File  |  2011-10-17  |  321b  |  16 lines

  1. onClipEvent(enterFrame){
  2.    _root.hurt -= 0.1;
  3.    _Y = _Y + (_root.Test._y - _Y + shakex) / 6;
  4.    _X = _X + (_root.Test._x - _X + shakey / 6);
  5.    if(_root.gamepaused == 1)
  6.    {
  7.       this._xscale = 324;
  8.       this._yscale = 292;
  9.    }
  10.    else
  11.    {
  12.       this._xscale = 185;
  13.       this._yscale = 152;
  14.    }
  15. }
  16.